//
//  BQShopCarFirstCell.m
//  BeeQuick
//
//  Created by Vivitickey on 2017/5/7.
//  Copyright © 2017年 test. All rights reserved.
//

#import "BQShopCarFirstCell.h"
#import "BQAdressModel.h"
@interface BQShopCarFirstCell ()

@property (weak, nonatomic) IBOutlet UILabel *accept_nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *genderLabel;
@property (weak, nonatomic) IBOutlet UILabel *telphoneLabel;
@property (weak, nonatomic) IBOutlet UILabel *adressLabel;

@end

@implementation BQShopCarFirstCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setModel:(BQAdressModel *)model{
    
    _model = model;
    
    _accept_nameLabel.text = model.accept_name;
    
    _genderLabel.text = [model.gender isEqualToString:@"1"] ? @"先生" : @"女士";
    
    _telphoneLabel.text = model.telphone;
    
    _adressLabel.text = model.address;
    
}

@end
